package org.example.service;

import org.example.dto.WhiteListDTO;
import org.example.req.WhiteListDelReq;
import org.example.req.WhiteListSaveReq;
import org.example.req.WhiteListUpdateReq;

import java.util.List;

public interface WhiteListService {

    List<WhiteListDTO> list(String result);
    WhiteListDTO findById(Long id);

    int save(WhiteListSaveReq whiteListSaveReq);
    int delete(WhiteListDelReq whiteListDelReq);
    int update(WhiteListUpdateReq whiteListUpdateReq);

}
